<div style="margin: auto">
    <form id="tag_add_form" class="layui-form layui-form-pane" method="post" >
        <input type="hidden" name="id" th:value="${tag.id}">
        <div style="margin: 40px;">
            <div class="layui-form-item">
                <label class="layui-form-label">中文名</label>
                <div class="layui-input-block">
                    <input autocomplete="off" class="layui-input" name="name" lay-verify="required" th:value="${tag.name}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">英文名</label>
                <div class="layui-input-block">
                    <input autocomplete="off" class="layui-input" name="value" lay-verify="required" th:value="${tag.value}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <input autocomplete="off" class="layui-input" name="state" th:value="${tag.state}">
                </div>
            </div>
        </div>
    </form>
</div>